
<section class="wrapper">
	<!-- page start-->
	<section class="panel">
		<header class="panel-heading">WEB SETTINGS </header>
		<div class="panel-body">
			<form class="form-horizontal" role="form" method="POST"
				action="<?= base_url(); ?>secure/settings/web_settings/web_settings_update">
				<?php
				$this->session->flashdata('message'); {
					$msg = $this->session->flashdata('message');
					echo '<font color="red">' . $msg . '</font>';
				}
				?>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Web title</label>
					<div class="col-lg-10">
						<input type="text" class="form-control" id="web_title" name="web_title"
							value="<?= $web_title;?>">
					</div>
				</div>


				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Web url</label>
					<div class="col-lg-10">
						<input type="text" class="form-control" id="web_url" name="web_url" value="<?= $web_url;?>">
					</div>
				</div>
<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Web friendly name</label>
					<div class="col-lg-10">
						<input type="text" class="form-control" id="web_friendly_name" name="web_friendly_name" value="<?= $web_friendly_name;?>">
					</div>
				</div>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Keyword</label>
					<div class="col-lg-10">
					<textarea id="keyword" name="keyword" class="form-control"><?= $keyword;?></textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Description</label>
					<div class="col-lg-10">
						
						<textarea id="description" name="description" class="form-control"><?= $description;?> </textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Default email</label>
					<div class="col-lg-10">
						<input type="text" class="form-control" id="default_email" name="default_email" value="<?= $default_email;?>">
					</div>
				</div>
				
				<div class="form-group">
					<label for="input" class="col-lg-2 control-label">Google analytics</label>
					<div class="col-lg-10">
						<textarea id="google_analytics" name="google_analytics" class="form-control" rows="12"><?= $google_analytics;?></textarea>
					</div>
				</div>
				<div class="form-group">
					<div class="col-lg-offset-2 col-lg-10">
						<button type="submit" name="update_settings" class="btn btn-info pull-right" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');">Update Settings</button>
					</div>
				</div>


			</form>
		</div>
		<!-- End of Body Panel -->
	</section>
	<!-- page end-->
</section>
